package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 转运日志对象 trans_log
 * 
 * @author ruoyi
 * @date 2024-12-18
 */
public class TransLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 起点 */
    @Excel(name = "起点")
    private String startEnd;

    /** 鱼类信息 */
    @Excel(name = "鱼类信息")
    private String fishInfo;

    /** 批次编号 */
    @Excel(name = "批次编号")
    private String transNo;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sj;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStartEnd(String startEnd) 
    {
        this.startEnd = startEnd;
    }

    public String getStartEnd() 
    {
        return startEnd;
    }
    public void setFishInfo(String fishInfo) 
    {
        this.fishInfo = fishInfo;
    }

    public String getFishInfo() 
    {
        return fishInfo;
    }
    public void setTransNo(String transNo) 
    {
        this.transNo = transNo;
    }

    public String getTransNo() 
    {
        return transNo;
    }
    public void setSj(Date sj) 
    {
        this.sj = sj;
    }

    public Date getSj() 
    {
        return sj;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("startEnd", getStartEnd())
            .append("fishInfo", getFishInfo())
            .append("transNo", getTransNo())
            .append("sj", getSj())
            .toString();
    }
}
